package com.ky.gp.app.service;

import com.ky.common.param.TopicsAdd;
import com.ky.common.vo.R;
import com.ky.gp.app.config.OpenFeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @version 1.0
 * @Author 小胤
 * @Date 2024/6/18 15:12
 * @注释
 */
@FeignClient(value = "gp-home-server", configuration = OpenFeignConfig.class)
public interface TopicHomeFeign {
    @RequestMapping("/home/topics/clickIn")
    public R clickIn(@RequestBody TopicsAdd topicsAdd);
    @RequestMapping("/home/topics/getTopics")
    R getTopics();
}
